<?php
/**
 * TOP API: taobao.openmall.trade.address.parse request
 * 
 * @author auto create
 * @since 1.0, 2020.09.28
 */
class ItaokeOpenmallTradeAddressParseRequest
{
	/** 
	 * 渠道商分销者
	 **/
	private $distributor;
	
	/** 
	 * 需解析的地址信息
	 **/
	private $rawAddress;
	
	private $apiParas = array();
	
	public function setDistributor($distributor)
	{
		$this->distributor = $distributor;
		$this->apiParas["distributor"] = $distributor;
	}

	public function getDistributor()
	{
		return $this->distributor;
	}

	public function setRawAddress($rawAddress)
	{
		$this->rawAddress = $rawAddress;
		$this->apiParas["raw_address"] = $rawAddress;
	}

	public function getRawAddress()
	{
		return $this->rawAddress;
	}

	public function getApiMethodName()
	{
		return "itaoke.openmall.trade.address.parse";
	}
	
	public function getApiParas()
	{
		return $this->apiParas;
	}
	
	public function check()
	{
		
	}
	
	public function putOtherTextParam($key, $value) {
		$this->apiParas[$key] = $value;
		$this->$key = $value;
	}
}
